package org.nf.trading.dao;

import org.nf.trading.entity.ProductTypeDetail;

import java.util.List;



public interface ProductTypeDetailMapper {
    /**
     * 通过商品类型id查询全部商品类型详情
     *
     * @param productTypeId
     * @return
     */
    List<ProductTypeDetail> getAllByProductTypeDetailsByTypeId(Integer productTypeId);

    int deleteByPrimaryKey(Integer productTypeDetailId);

    int insert(ProductTypeDetail record);

    ProductTypeDetail selectByPrimaryKey(Integer productTypeDetailId);

    List<ProductTypeDetail> selectAll();

    int updateByPrimaryKey(ProductTypeDetail record);
}